<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加用户</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: -20px;
            margin-bottom: 50px;
        }

        form {
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            width: 500px;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 6px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 3px;
        }

        textarea {
            height: 40px;
        }

        input[type="submit"] {
            background-color: #007BFF;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }
    </style>
</head>

<body>
<form action="GETyonghuguanli.jsp" method="post" accept-charset="UTF-8">
    <h2>添加用户</h2>
    <label for="Name">姓名:</label>
    <input type="text" id="Name" name="Name" required>

    <label for="Password">密码:</label>
    <input type="Password" id="Password" name="Password" required>

    <label for="Role">用户角色:</label>
    <select id="Role" name="Role">
        <option value="医护人员">医护人员</option>
        <option value="管理员">管理员</option>
    </select>

    <input type="submit" value="添加用户">
</form>
</body>
</html>
